<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>综合评分设置</title>
    <script>
        var requireExtraPaths = {
            extrance: '../../../master_js/setting/sysCompreAbilitySet'
        }; 
    </script>
    <jsp:include flush="true" page="../../base/base.jsp"></jsp:include>
    <style>
        .user-info-wrap .form-grid {
            width: 600px;
        }

    </style>
</head>
<body class="site-body">
	<article class="construct-tree construct-tree2" id="left">
		<div class="title-bar clearfix">
	   		<span style="float: left;margin-right: 12px;margin-top: 12px;padding-left: 18px;">企业信息</span>
	   		<div class="tree-search clearfix">
		   		<input type="text" class="input-text" placeholder="搜索" style="width: 125px;" id="searchlabel">
		   		<span class="icon"></span>
	   		</div>
   		</div>
        <div class="tree-area" style="min-height: 200px;">
        	<ul class="ztree" id="sysCorpTree" style="overflow: auto;">
        	</ul>
        </div>
    </article>
    <article class="site-col-extra overflow-a" id="right">
		<div class="user-info-wrap score-setting">
            <form id="sysForm" class="pr-s">
                <div class="user-info-box">
                    <h2 class="title-style1"><span>车辆安全</span></h2>
                    <ul class="form-grid form-grid2 clearfix form-grid-nowrap">
                        <li>
                            <label class="label-text label-require"><span class="red-star">*</span>故障扣分系数：</label>
                            <input class="input-text" type="text" id="mftCoef" name="mftCoef"  data-validator="{required:true}" onkeyup="value=value.replace(/[^\d.]/g,'')">
                        </li>
                        <li class="mb0 mt10 h-auto wrap" style="width: 700px;">
                            <label class="label-text">说明：</label>
                            <span class="comment-preview">车辆安全得分=100分-故障扣分系数*单车每天平均发生故障数</span>
                        </li>
                    </ul>
                </div>
                <div class="user-info-box">
	            <h2 class="title-style1">
	            	<span>能耗水平</span>
	            </h2>
	            <ul class="form-grid form-grid2 clearfix form-grid-nowrap">
	            	<li>
	                	<label class="label-text label-require"><span class="red-star">*</span>能耗扣分系数：</label>
	                    <input class="input-text" type="text" id="eneCoef" name="eneCoef" data-validator="{required:true}" onkeyup="value=value.replace(/[^\d.]/g,'')">
	                </li>
	                <li class="mb0 mt10 h-auto wrap" style="width: 700px;">
		                <label class="label-text">说明：</label>
		                <span class="comment-preview">车辆安全得分=能耗扣分系数*80分*(近30天平均能耗-标准能耗）/标准能耗</span>
	                </li>
	            </ul>
                </div>
                <div class="user-info-box">
	            <h2 class="title-style1">
	            	<span>驾驶行为</span>
	            </h2>
	            <ul class="form-grid form-grid2 form-grid-nowrap clearfix">
	            	<li>
	                	<label class="label-text label-require"><span class="red-star">*</span>行为扣分系数：</label>
	                    <input class="input-text" type="text" id="bhvCoef" name="bhvCoef" data-validator="{required:true}" onkeyup="value=value.replace(/[^\d.]/g,'')">
	                </li>
	                <li class="mb0 mt10 h-auto wrap" style="width: 700px;">
	                    <label class="label-text">说明：</label>
	                    <span class="comment-preview">驾驶行为得分=100分-行为扣分系数*单车每天平均发生行为数</span>
	                </li>
	            </ul>
                </div>
                <div class="user-info-box">
				<h2 class="title-style1">
	                <span>机务水平</span>
	            </h2>
	            <ul class="form-grid form-grid2  form-grid-nowrap clearfix"">
	            	<li>
	                    <label class="label-text label-require"><span class="red-star">*</span>机务扣分系数：</label>
	                    <input class="input-text" type="text" id="mainCoef" name="mainCoef" data-validator="{required:true}" onkeyup="value=value.replace(/[^\d.]/g,'')">
	                </li>
	                <li class="mb0 mt10 h-auto wrap" style="width: 700px;">
	                    <label class="label-text">说明：</label>
	                    <span class="comment-preview">机务水平得分=车辆安全得分*车辆安全权重+驾驶行为得分*驾驶行为权重</span>
	                </li>
	            </ul>
                </div>
	          	<div class="user-btn-box">
					<a href="javascript:;" id="modif" class="btn btn-save btn-medium">保存</a>
		            <a href="javascript:;" id="backSys" class="btn btn-cancel btn-medium">重置</a>
				</div>
			</form>
		</div>
	</article>
</body>
</html>